<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@ page import="com.comment.pojo.*,com.comment.web.*,java.util.*" %>
<%
	request.setCharacterEncoding("utf-8");
	String username = request.getParameter("username");
	String topic = request.getParameter("topic");
	String contact = request.getParameter("contact");
	String content = request.getParameter("content");
	new CommentAction().add(username,contact,topic,content);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>留言</title>
<link href="res/style.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="jquery-1.4.3.js"></script>
</head>
<body>
<div id="wrapper">
	<div id="content">
		<ol class="commentlist">
			<li  class="comment even thread-odd thread-alt depth-1">
      			<div class="author_box">
			      <div style="display:none;" class="t"></div>
				  <span class="comment-author"><strong>留言成功 ！</strong></span>
			    </div>
				<div class="clear"></div>
			</li>
		</ol><!-- commentlist -->
		
	</div><!-- content -->
</div><!-- wrapper -->

</body>
</html>